<?php /*a:5:{s:54:"E:\code\jiaoyou\application\admin\view\index\main.html";i:1600238737;s:57:"E:\code\jiaoyou\application\admin\view\public\header.html";i:1598939754;s:54:"E:\code\jiaoyou\application\admin\view\public\css.html";i:1598939754;s:53:"E:\code\jiaoyou\application\admin\view\public\js.html";i:1598939754;s:57:"E:\code\jiaoyou\application\admin\view\public\footer.html";i:1598939753;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<title>后台系统</title>
<!--[if lt IE 9]>
<meta http-equiv="refresh" content="0;ie.html" />
<![endif]-->
<link rel="stylesheet" type="text/css" href="http://jiaoyou.com\/style/admin/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="http://jiaoyou.com\/style/admin/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="http://jiaoyou.com\/style/admin/css/animate.min.css" />
<link rel="stylesheet" type="text/css" href="http://jiaoyou.com\/style/admin/css/style.min.css" />
<link rel="stylesheet" type="text/css" href="http://jiaoyou.com\/style/admin/css/ffxiang.css" />
<link rel="shortcut icon" href="http://jiaoyou.com\/style/admin/img/favicon.ico">
    <script type="text/javascript" src="http://jiaoyou.com\/style/admin/js/jquery.min.js"></script>
<script type="text/javascript" src="http://jiaoyou.com\/style/admin/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="http://jiaoyou.com\/style/layui/layui.js"></script>
    <link rel="stylesheet" type="text/css" href="http://jiaoyou.com\/style/layui/css/layui.css" />
</head>
<style type="text/css">
.feed-element .content{
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
</style>
<body class="gray-bg">
    <div class="wrapper wrapper-content">
        <div class="ibox float-e-margins">
            <div class="row">

                <div class="col-sm-4">
                    <div class="ibox">
                        <div class="ibox-content">
                            <h5>待处理</h5>
                            <table class="table table-stripped small m-t-md">
                                <tbody>
                                <?php foreach($pending_list as $v): ?>
                                <tr>
                                    <td class="no-borders"><i class="fa fa-circle text-navy"></i></td>
                                    <td class="no-borders">
                                        <a  onclick="add('<?php echo htmlentities($v['url']); ?>')"><?php echo htmlentities($v['name']); ?> <b> <?php echo htmlentities($v['count']); ?> </b> 个</a>
                                    </td>
                                </tr>
                                <?php endforeach; ?>

                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>


                <div class="col-sm-4">
                    <div class="ibox">
                        <div class="ibox-content">
                            <h5>新增内容</h5>
                            <table class="table table-stripped small m-t-md">
                                <tbody>
                                <tr>
                                    <td class="no-borders"><i class="fa fa-circle text-navy"></i></td>
                                    <td class="no-borders">
                                        今日内容 <b> <?php echo htmlentities($data['content']['today']); ?> </b> 个
                                    </td>
                                </tr>
                                <tr>
                                    <td class="no-borders"><i class="fa fa-circle text-navy"></i></td>
                                    <td>
                                        本周内容 <b> <?php echo htmlentities($data['content']['week']); ?> </b>个
                                    </td>
                                </tr>
                                <tr>
                                    <td class="no-borders"><i class="fa fa-circle text-navy"></i></td>
                                    <td>
                                        本月内容 <b> <?php echo htmlentities($data['content']['month']); ?> </b> 个
                                    </td>
                                </tr>
                                <tr>
                                    <td class="no-borders"><i class="fa fa-circle text-navy"></i></td>
                                    <td>
                                        总共内容 <b> <?php echo htmlentities($data['content']['all']); ?> </b> 个
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>

                <div class="col-sm-4">
                    <div class="ibox">
                        <div class="ibox-content">
                            <h5>新增评论</h5>
                            <table class="table table-stripped small m-t-md">
                                <tbody>
                                    <tr>
                                        <td class="no-borders"><i class="fa fa-circle text-navy"></i></td>
                                        <td class="no-borders">
                                            今日评论 <b> <?php echo htmlentities($data['comment']['today']); ?> </b> 条
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><i class="fa fa-circle text-navy"></i></td>
                                        <td>
                                            本周评论 <b> <?php echo htmlentities($data['comment']['week']); ?> </b> 条
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><i class="fa fa-circle text-navy"></i></td>
                                        <td>
                                            本月评论 <b> <?php echo htmlentities($data['comment']['month']); ?> </b> 条
                                        </td>
                                    </tr>
                                    <tr>
                                        <td><i class="fa fa-circle text-navy"></i></td>
                                        <td>
                                            总共评论 <b> <?php echo htmlentities($data['comment']['all']); ?> </b> 条
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>

                <div class="col-sm-4">
                    <div class="ibox">
                        <div class="ibox-content">
                            <h5>新增会员</h5>
                            <table class="table table-stripped small m-t-md">
                                <tbody>
                                <tr>
                                    <td><i class="fa fa-circle text-navy"></i></td>
                                    <td class="no-borders">
                                        今日会员 <b> <?php echo htmlentities($data['member']['today']); ?> </b> 人
                                    </td>
                                </tr>
                                <tr>
                                    <td><i class="fa fa-circle text-navy"></i></td>
                                    <td>
                                        本周会员 <b> <?php echo htmlentities($data['member']['week']); ?> </b> 人
                                    </td>
                                </tr>
                                <tr>
                                    <td><i class="fa fa-circle text-navy"></i></td>
                                    <td>
                                        本月会员 <b> <?php echo htmlentities($data['member']['month']); ?> </b> 人
                                    </td>
                                </tr>
                                <tr>
                                    <td><i class="fa fa-circle text-navy"></i></td>
                                    <td>
                                        总共会员 <b> <?php echo htmlentities($data['member']['all']); ?> </b> 人
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>

                <div class="col-sm-4">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>最新评论</h5>
                            <div class="ibox-tools">
                                <a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
                                <a class="close-link"><i class="fa fa-times"></i></a>
                            </div>
                        </div>
                        <div class="ibox-content" style="display: block;">
                            <div class="feed-activity-list">
                                <?php if(is_array($comment) || $comment instanceof \think\Collection || $comment instanceof \think\Paginator): $i = 0; $__LIST__ = $comment;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                <div class="feed-element">
                                    <div>
                                        <strong><?php echo htmlentities((isset($vo['nickname']) && ($vo['nickname'] !== '')?$vo['nickname']:"--")); ?></strong>
                                    </div>
                                    <div class="content" title="评论：<?php echo htmlentities($vo['content']); ?>">评论：<?php echo htmlentities($vo['content']); ?></div>
                                    <small class="text-muted"><?php echo htmlentities(date("Y-m-d H:i:s",!is_numeric($vo['create_time'])? strtotime($vo['create_time']) : $vo['create_time'])); ?></small>
                                </div>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-sm-4">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>关于我们</h5>
                            <div class="ibox-tools">
                                <a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
                                <a class="close-link"><i class="fa fa-times"></i></a>
                            </div>
                        </div>
                        <div class="ibox-content">
                            <table class="table table-hover no-margins">
                                <tbody>
                                <tr>
                                    <td style="border-top: 0px;">PHP版本：<span><?php echo phpversion(); ?></span></td>
                                    <td style="border-top: 0px;">操作系统：<span><?php echo PHP_OS; ?></span></td>
                                </tr>
                                <tr>
                                    <td>上传限制：<span><?php echo ini_get('upload_max_filesize'); ?></span></td>
                                    <td>POST限制：<span><?php echo ini_get('post_max_size'); ?></span></td>
                                </tr>
                                <tr>
                                    <td>更新版本：<span>2020/05/15</span></td>
                                    <td>程序版本：<span>1.0</span></td>
                                </tr>
                                <tr>
                                    <td>技术支持：<span><a href="http://www.duoduoxia.cn/" target="_blank">多多侠</a></span></td>
                                    <td>技术 Q Q：<span>xxx</span></td>
                                </tr>

                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
     
    <script type="text/javascript" src="http://jiaoyou.com\/style/admin/js/content.min.js"></script>
    <link rel="stylesheet" type="text/css" href="http://jiaoyou.com\/style/admin/plugins/sweetalert/sweetalert.css" />
    <script type="text/javascript" src="http://jiaoyou.com\/style/admin/plugins/sweetalert/sweetalert.min.js"></script>
    <script type="text/javascript" src="http://jiaoyou.com\/style/admin/plugins/layer/layer.js"></script>
    <script type="text/javascript" src="http://jiaoyou.com\/style/admin/js/ffxiangIndex.js"></script>
    <script type="text/javascript" src="http://jiaoyou.com\/style/admin/js/common.js"></script>
</body>
</html>
    <script type="text/javascript">
        function add(url){
            layer.open({
                type: 2,
                title: '会员管理',
                shadeClose: false,
                shade: 0.2,
                area: ['100%', '95%'],
                skin:'shangchuantup',
                // shift:-1,
                content: url,
            });
        }
        function del(id) {
            swal_del(id, "<?php echo url('del'); ?>", {title:'该会员'});
        }
    </script>
